package com.link.base.base.product.service;

import com.link.base.base.product.model.ProdViewHistory;
import com.link.core.basic.service.BasicService;

/**
 * @author KuangRuifeng
 * created 2018-11-08
 * comments 产品浏览记录service
 */
public interface ProdViewHistoryService extends BasicService<ProdViewHistory> {

    /**
     * 根据客户id和产品id添加或更新浏览记录
     * @author KuangRuifeng
     * @date 2018年11月9日
     * @param prodViewHistory
     * @return 新记录
     * @throws Exception
     */
    ProdViewHistory upsertViewHis(ProdViewHistory prodViewHistory)  throws Exception;
}
